{if $order_list}
{foreach $order_list as $k=>$v}
<div class="payment-not js_openLink js_orderList" data-href="{AnUrl("order/{$v.id}")}">
  <div class="payment-state clearfix">
    <div class="state-l">{order_config::$dealer_progress[$v.progress]}</div>
    <div class="state-r">
      <p>订单号：<span>{$v.order_code}</span></p> 
        <a href="javascript:void(0);" class="disabled">
          <img src="{$smarty.const.STATIC_URL}/images/m2-images/trash{if $v.progress > 0}-disabled{/if}.png" class="{if $v.progress == 0}js_deleteOrder{else}js_deleteDisabled{/if}" data-order_id="{$v.id}"/>
        </a>
    </div>
  </div>
  <div class="payment-vessle">
    {$order_count = count($v.detail)}
    {foreach $v.detail as $key => $value}
      <h2 class="js_openLink js_goodsInfo" data-href="{AnUrl("goods/{$value.goods_id}")}" data-goods_num="{$value.goods_num}" data-sku_id="{$value.sku_id}" data-is_gift="{$value.is_gift}" data-is_promotion="{$value.is_promotion}"><img src="{_image($value.goods_cover, 'small')}" width="92" /></h2>
    {if $order_count == 1}
      <p class="js_openLink" data-href="{AnUrl("goods/{$value.goods_id}")}">{$value.goods_title}</p>
    {/if}
    {/foreach}
  </div>
  <div class="payment-mony clearfix">
    <p class="payment-paying">实付款：￥<span>{$v.price}</span></p>
    {if $v.progress == 1}
    <a class="payment-btn js_openLink" data-href="{order_helper::get_order_pay_url($order_info.id)}">立即支付</a>
    {elseif $v.progress == 10}
    <p class="payment-old js_cancelOrder" data-order_id="{$v.id}">取消订单</p>
    {elseif $v.progress == 15}
    <a class="payment-btn js_sureReceiver" data-order_id="{$v.id}">确认收货</a>
    {elseif $v.progress == 20}
    <p class="payment-old js_openLink" data-login="1" data-href="{AnUrl("service/slt_service?order_id={$v.id}")}">申请售后</p>
    {elseif $v.progress == 0}
    <a class="payment-old js_replayToCart" href="javascript:void(0);" data-id="{$v.id}">再次购买</a>
    {/if}
  </div>
</div>
{/foreach}
{/if}